Handles `POST /v1/cases/{id}/decision`.
curl --request POST \
--url https://qa.esectra.com/v1/cases/{case_id}/decision \
--header 'Content-Type: application/json' \
--cookie esectra_session= \
--data '
{
"reason": "<string>",
"note": "<string>",
"override_decision": {}
}
'import requests
url = "https://qa.esectra.com/v1/cases/{case_id}/decision"
payload = {
"reason": "<string>",
"note": "<string>",
"override_decision": {}
}
headers = {
"cookie": "esectra_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'esectra_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', note: '<string>', override_decision: {}})
};
fetch('https://qa.esectra.com/v1/cases/{case_id}/decision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa.esectra.com/v1/cases/{case_id}/decision",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => '<string>',
'note' => '<string>',
'override_decision' => [
]
]),
CURLOPT_COOKIE => "esectra_session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa.esectra.com/v1/cases/{case_id}/decision"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "esectra_session=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://qa.esectra.com/v1/cases/{case_id}/decision")
.header("cookie", "esectra_session=")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa.esectra.com/v1/cases/{case_id}/decision")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'esectra_session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}"
response = http.request(request)
puts response.read_body{
"case": {
"case_id": "<string>",
"case_type": "IDENTITY",
"created_at": "<string>",
"decision_id": "<string>",
"notes": [
{
"author": "<string>",
"body": "<string>",
"created_at": "<string>",
"id": "<string>"
}
],
"queue": "<string>",
"severity": "LOW",
"status": "OPEN",
"subject_id": "<string>",
"updated_at": "<string>",
"assignee": "<string>",
"disposition": "CONFIRMED_RISK",
"reviewer": "<string>"
},
"superseding_decision": {
"created_at": "<string>",
"decision": "ALLOW",
"evidence": [
{
"id": "<string>",
"kind": "IMAGE",
"location": "<string>",
"retention_policy": "<string>"
}
],
"id": "<string>",
"reasons": [
{
"code": "<string>",
"message": "<string>"
}
],
"review_status": "PENDING",
"risk_level": "LOW",
"source_module": "VERIFY",
"subject_id": "<string>",
"subject_type": "USER",
"tenant_id": "<string>",
"confidence": 123,
"model_version": "<string>",
"policy_version": "<string>",
"recommended_action": "<string>",
"rule_version": "<string>",
"supersedes": "<string>"
}
}Cases
Handles `POST /v1/cases/{id}/decision`.
Errors
Returns 401 without usable credentials, 403 when the caller is an
integration rather than a person or when their role may not override,
404 for an unknown case, 409 when the case is already finished, 422
when the conclusion carries no reason, and 500 when a store fails.
POST
/
v1
/
cases
/
{case_id}
/
decision
Handles `POST /v1/cases/{id}/decision`.
curl --request POST \
--url https://qa.esectra.com/v1/cases/{case_id}/decision \
--header 'Content-Type: application/json' \
--cookie esectra_session= \
--data '
{
"reason": "<string>",
"note": "<string>",
"override_decision": {}
}
'import requests
url = "https://qa.esectra.com/v1/cases/{case_id}/decision"
payload = {
"reason": "<string>",
"note": "<string>",
"override_decision": {}
}
headers = {
"cookie": "esectra_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'esectra_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', note: '<string>', override_decision: {}})
};
fetch('https://qa.esectra.com/v1/cases/{case_id}/decision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa.esectra.com/v1/cases/{case_id}/decision",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => '<string>',
'note' => '<string>',
'override_decision' => [
]
]),
CURLOPT_COOKIE => "esectra_session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa.esectra.com/v1/cases/{case_id}/decision"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "esectra_session=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://qa.esectra.com/v1/cases/{case_id}/decision")
.header("cookie", "esectra_session=")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa.esectra.com/v1/cases/{case_id}/decision")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'esectra_session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\",\n \"note\": \"<string>\",\n \"override_decision\": {}\n}"
response = http.request(request)
puts response.read_body{
"case": {
"case_id": "<string>",
"case_type": "IDENTITY",
"created_at": "<string>",
"decision_id": "<string>",
"notes": [
{
"author": "<string>",
"body": "<string>",
"created_at": "<string>",
"id": "<string>"
}
],
"queue": "<string>",
"severity": "LOW",
"status": "OPEN",
"subject_id": "<string>",
"updated_at": "<string>",
"assignee": "<string>",
"disposition": "CONFIRMED_RISK",
"reviewer": "<string>"
},
"superseding_decision": {
"created_at": "<string>",
"decision": "ALLOW",
"evidence": [
{
"id": "<string>",
"kind": "IMAGE",
"location": "<string>",
"retention_policy": "<string>"
}
],
"id": "<string>",
"reasons": [
{
"code": "<string>",
"message": "<string>"
}
],
"review_status": "PENDING",
"risk_level": "LOW",
"source_module": "VERIFY",
"subject_id": "<string>",
"subject_type": "USER",
"tenant_id": "<string>",
"confidence": 123,
"model_version": "<string>",
"policy_version": "<string>",
"recommended_action": "<string>",
"rule_version": "<string>",
"supersedes": "<string>"
}
}Authorizations
A signed-in reviewer's session. httpOnly and SameSite=Lax; set by POST /v1/control/sessions and only usable once the second factor is met.
Path Parameters
Case identifier
Body
application/json
Case decision request body.
What the reviewer concluded.
Available options:
CONFIRMED_RISK, FALSE_POSITIVE, ACCEPTED_RISK, INSUFFICIENT_EVIDENCE, CUSTOMER_EXPLAINED, ESCALATED, OTHER Why.
Status the case moves to.
Available options:
OPEN, IN_REVIEW, APPROVED, REJECTED, ESCALATED, CLOSED Optional note for the case timeline.
The override to apply, when the reviewer is replacing the decision.
Show child attributes
Show child attributes

